/* File: uniondef.h */


/* pattern.patternType */
#define CONTIGUOUS 1
#define FIXED_STRIDED 2
#define NESTED_STRIDED 3 

/* pattern.operation */
#define OP_MPI_FILE_READ 1
#define OP_MPI_FILE_WRITE 2
#define OP_MPI_FILE_READ_AT 3
#define OP_MPI_FILE_WRITE_AT 4
#define OP_MPI_FILE_READ_ALL 5
#define OP_MPI_FILE_WRITE_ALL 6

typedef struct pattern {
    uint32_t patternType;
    uint32_t initPos;
    uint32_t initSize;
    uint32_t numRep;
    uint32_t strideSize;
    uint32_t operation;
    char filename[128];
} AccessPattern;



